<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <script src="static/js/font_1693746_l88lqiaavxa.js"></script>
  <link rel="stylesheet" href="static/css/base.css">
  <link rel="stylesheet" href="static/css/font_1693746_l88lqiaavxa.css">
  <title>开发助手高效版-网页版极致cms开发助手</title>
</head>
<body>
<div class="tool-container clearfix">
  <div class="menu">
    <span></span>
  </div>
  <div class="tool-nav" style="display: none;">
    <a href="index.html">导航菜单</a>
    <a href="site.html">站点信息</a>
    <a href="index-page.html">指定栏目</a>
    <a href="index-list.html">指定文章列表</a>
    <a href="index-product.html">指定商品列表</a>
    <a href="sort.html">当前栏目</a>
    <a href="banner.html">轮播图</a>
    <a href="article-list.html">文章列表</a>
    <a href="article-details.html">文章详情</a>
    <a href="productlist.html">产品列表</a>
    <a href="product.html">产品详情</a>
    <a href="pics.html">多图遍历</a>
    <a href="fenye.html">分页</a>
    <a href="message.html">表单留言</a>
    <a href="search.html">搜索列表</a>
    <a href="if.html">IF判断</a>
    <a href="en.html">多语言建站</a> 
    <a href="select.html">多条件筛选</a>
    <a href="">全局标签</a>
    <a href="user.html">会员登录注册</a>
    <a href="javascript:;">无刷新点赞</a>
    <a href="link.html">友情链接</a>
    <a href="other.html">其他</a>
  </div>
  <div class="tool-left">
    <div class="english">
      <a href="en.html"><svg class="icon" aria-hidden="true"><use xlink:href="#iconchina"></use></svg>CN <svg class="icon" aria-hidden="true"><use xlink:href="#iconmeiguo"></use></svg>EN</a>
    </div>
    <div class="logo-search container">
      <a href="site.html" class="logo">极致CMS开发助手</a>
      <a href="search.html" class="search">
        <span>请输入关键词</span>
        <span>搜索</span>
      </a>
      <a href="user.html" class="login">
        <span>登录/注册</span>
      </a>
    </div>
    <div class="header">
      <ul class="navbar clearfix">
        <li><a href="index.html">首页</a></li>
        <li><a href="productlist.html">产品列表</a></li>
        <li><a href="product.html">产品详情</a></li>
        <li><a href="article-list.html">文章列表</a></li>
        <li><a href="article-details.html">文章详情</a></li>
        <li><a href="page.html">单页</a></li>
        <li><a href="">全局标签</a></li>
        <li><a href="other.html">其他</a></li>
      </ul>
    </div>
    <div class="banner container">
      <a href="banner.html"><img src="static/picture/banner.png" alt=""></a>
    </div>
    <div class="index-main container">
      <a href="index-page.html">
        <h3>公司简介</h3>
        <p>欢迎您使用极致CMS商业版, 希望我们的建站系统能够让您在使用的时候感到快乐~郑重承诺极致CMS商业版程序无后门，无限制，全开源，不收授权费，长期运营至死方休。</p>
      </a>
    </div>
    <div class="index-main container">
      <a href="index-product.html">
        <h3>产品展示</h3>
        <span>IMG1</span>
        <span>IMG2</span>
        <span>IMG3</span>
        <span>IMG4</span>
        <span>IMG5</span>
      </a>
    </div>
    <div class="index-foot clearfix">
      <a href="index-list.html" class="index-news">
        <h4>公司新闻</h4>
        <ul>
          <li>新闻标题 <span>2020-03-12</span></li>
          <li>新闻标题 <span>2020-03-12</span></li>
          <li>新闻标题 <span>2020-03-12</span></li>
          <li>新闻标题 <span>2020-03-12</span></li>
          <li>新闻标题 <span>2020-03-12</span></li>
        </ul>
      </a>
      <a href="message.html" class="index-form">
        <h4>留言板</h4>
        <div class="form-item">
          <span class="input">请输入您的姓名</span>
        </div>
        <div class="form-item">
          <span class="input">请输入您的电话</span>
        </div>
        <div class="form-item">
          <span class="button">提交</span>
        </div>
      </a>
      <a href="company.html" class="index-contact">
        <h4>联系我们</h4>
        <div class="index-contact-item">
          <p>联系人：HOUJUN</p>
          <p>QQ：11329827</p>
          <p>地址：成都市青羊区</p>
        </div>
      </a>
    </div>
    <div class="index-link container">
      <a href="link.html">
        友情链接：<span>极致CMS</span><span>菜鸟教程</span>
      </a>
    </div>
    <a href="site.html" class="index-footer">
      <p><span>&copy;2020 极致CMS版权所有</span></p>
      <p><span>蜀ICP备2021016482号</span></p>
    </a>
  </div>
  <div class="tool-right">
    <div class="tool-code">
      <h2>极致CMS开发助手</h2>
      <div class="tool-code-box" id="tool-code1">
          
        <div class="code-box code-create">
          <h3>生成助手-模板引用(include)</h3>
          <div class="num">
            <div class="result-code">
              <div class="textarea-box">
                <textarea id="include" type="text" name="result" value="" rows="1"> </textarea><button onclick="copyTextarea()">COPY</button>
              </div>
            </div>
            <div class="count">
              <span>模板名称：<input type="text" placeholder="如:head" id="id1"></span>
              <span><input type="submit" value="生成代码" onclick="include()"></span>
            </div>
          </div>
        </div>

        <div class="code-box code-create">
          <h3>生成助手-时间格式化(date)</h3>
          <div class="num">
            <div class="result-code">
              <div class="textarea-box">
                <textarea id="time" type="text" name="result" value="" rows="1"> </textarea><button onclick="copyTextarea()">COPY</button>
              </div>
            </div>
            <div class="count">
              <span>调用方式：<select id="list1">
                  <option value="0">列表调用</option>
                  <option value="1">内容调用</option></select></span> 
              <span>时间样式：<select id="format">
                  <option value="0">Y-m-d</option>
                  <option value="1">Y/m/d</option>
                  <option value="2">Y年m月d日</option>
                  <option value="3">Y年m月</option>
                  <option value="4">Y-m-d H:i:s</option></select></span>
              <span><input type="submit" value="生成代码" onclick="time()"></span>
            </div>
          </div>
        </div>
<div class="code-box code-create">
          <h3>人性化时间</h3>
          <div class="num">
            <div class="result-code">
             <div class="textarea-box">
<textarea type="text" name="result" value="" rows="1">
 {fun formatTime($jz['addtime'])}  其他页面需改V</textarea><button onclick="copyTextarea()">COPY</button>
              </div>
            </div>
          </div>
        </div>
        <div class="code-box code-create">
          <h3>生成助手-内容列表-全站可用({loop)</h3>
          <div class="num">
            <div class="result-code">
              <div class="textarea-box">
                <textarea id="sort" type="text" name="result" value="" rows="5"> </textarea><button onclick="copyTextarea()">COPY</button>
              </div>
            </div>
            <div class="count">
              <span>类型：
              <select id="table">
                  <option value="0">文章</option>
                  <option value="1">产品</option>
                  </select>
              </span>
              <span>指定栏目：<input type="text" id="tid" placeholder="栏目id,数字"></span>
              <span>列表数量：<input type="text" id="limit" placeholder="数字"></span>
              <span>列表排序：
              <select id="order">
                  <option value="0">不设置排序</option>
                  <option value="1">ID倒序(大靠前)</option>
                  <option value="2">ID正序(小靠前)</option>
                  <option value="3">时间倒序(新靠前)</option>
                  <option value="4">时间正序(新靠后)</option>
                  </select>
             </span>
              <span>链接形式：
              <select id="listl">
                  <option value="0">纯链接</option>
                  <option value="1">带计数0开始</option>
                  <option value="2">带计数1开始</option>
                  <option value="3">有显无不显缩略图</option>
                  <option value="4">无缩略图显默认图</option>
                  </select>
             </span>
              <span>分页：
              <select id="ispage">
                  <option value="0">不分页</option>
                  <option value="1">分页</option>
                  </select>
             </span>
              <span>输出子类数据：
              <select id="isall">
                  <option value="1">是</option>
                  <option value="0">否</option>
                 </select>
              </span>

              <span><input type="submit" value="生成代码" onclick="sort()"></span>
            </div>
          </div>
        </div>
          
        <div class="code-box code-create">
          <h3>生成助手-列表截取标签(字数×2)</h3>
          <div class="num">
            <div class="result-code">
              <div class="textarea-box">
                <textarea id="lencn" type="text" name="result" value="" rows="1"> </textarea><button onclick="copyTextarea()">COPY</button>
              </div>
            </div>
            <div class="count">
              <span>列表使用：<select id="list2">
                  <option value="0">标题</option>
                  <option value="1">简介</option>
                  <option value="2">内容纯文字</option>
                  </select></span> 
              <span>截取字符(2字符=1汉字)：<input type="text" id="num2" placeholder="填数字"></span>
              <span><input type="submit" value="生成代码" onclick="lencn()"></span>
            </div>
          </div>
        </div>
          
        <div class="code-box code-create">
          <h3>内容列表-碎片化调用-全站可用</h3>
          <div class="num">
            <div class="result-code">
              <div class="textarea-box">
                <textarea id="sui" type="text" name="result" value="" rows="5"> </textarea><button onclick="copyTextarea()">COPY</button>
              </div>
            </div>
            <div class="count">
              <span>碎片标识：<input type="text" placeholder="如xxx,字母" id="suix"></span>
              <span>链接形式：<select id="suil">
                  <option value="0">纯链接</option>
                  <option value="1">带计数0开始</option>
                  <option value="2">带计数1开始</option>
                  <option value="3">有显无不显缩略图</option>
                  <option value="4">无缩略图显默认图</option>
              </select></span>
              <span><input type="submit" value="生成代码" onclick="sui()"></span>
            </div>
          </div>
        </div>
          
      <div class="code-tips">
        <span>Tips</span>可以用loop输出,也可以通过碎片输出, <br>
        如果用碎片调用,需要先在后台扩展管理-碎片化设置 <br>
        碎片化主要是解决大数据(2w+)给数据库带来的查询问题，增加数据缓存调用
      </div>
        
        <div class="code-box code-para">
          <h3>常用标签 <span>(点击即复制)</span></h3>
          <button onclick="copyText()"><span class="copy">{$positions}</span><span>当前位置</span></button>
          <button onclick="copyText()"><span class="copy">{$type['id']}</span><span>当前栏目ID</span></button>
          <button onclick="copyText()"><span class="copy">{$type['classname']}</span><span>当前栏目名</span></button>
          <button onclick="copyText()"><span class="copy">{$type['molds']}</span><span>当前模块标识</span></button>
          <button onclick="copyText()"><span class="copy">{$type['litpic']}</span><span>当前栏目缩略图</span></button>
          <button onclick="copyText()"><span class="copy">{$type['url']}</span><span>当前栏目url</span></button>
          <button onclick="copyText()"><span class="copy">{$type['keywords']}</span><span>当前栏目关键词</span></button>
          <button onclick="copyText()"><span class="copy">{$type['description']}</span><span>当前栏目描述</span></button>
          <button onclick="copyText()"><span class="copy">{$type['body']}</span><span>当前栏目内容</span></button>
          <button onclick="copyText()"><span class="copy">{$type['lists_num']}</span><span>当前栏目列表输出条数</span></button>
          <button onclick="copyText()"><span class="copy">{$type['comment_num']}</span><span>当前栏目评论数</span></button>
          <button onclick="copyText()"><span class="copy">{$type['pid']}</span><span>当前栏目上级栏目id</span></button>
          <button onclick="copyText()"><span class="copy">{$classtypedata[$type['pid']]['classname']}</span><span>当前栏目上级栏目名</span></button>
          <button onclick="copyText()"><span class="copy">{$classtypedata[$type['pid']]['url']}</span><span>当前栏目上级栏目url</span></button>
        </div>
        <div class="code-box code-label">
          <h3>全部站点信息标签 <span>(点击即复制)</span></h3>
          <button onclick="copyText()"><span class="copy">{$webconf['web_logo']}</span><span>网站logo</span></button>
          <button onclick="copyText()"><span class="copy">{$webconf['web_qq']}</span><span>网站QQ</span></button>
          <button onclick="copyText()"><span class="copy">{$webconf['web_phone']}</span><span>网站手机</span></button>
          <button onclick="copyText()"><span class="copy">{$webconf['web_weixin']}</span><span>站长微信二维码</span></button>
          <button onclick="copyText()"><span class="copy">{$webconf['web_beian']}</span><span>备案号</span></button>
          <button onclick="copyText()"><span class="copy">{$webconf['web_email']}</span><span>网站邮箱</span></button>
          <button onclick="copyText()"><span class="copy">{$webconf['web_tel']}</span><span>网站电话</span></button>
          <button onclick="copyText()"><span class="copy">{$webconf['web_address']}</span><span>公司地址</span></button>
          <button onclick="copyText()"><span class="copy">{$webconf['domain']}</span><span>网站SEO网址</span></button>
          <button onclick="copyText()"><span class="copy">{$webconf['web_name']}</span><span>网站SEO名称</span></button>
          <button onclick="copyText()"><span class="copy">{$webconf['web_keyword']}</span><span>网站SEO关键词</span></button>
          <button onclick="copyText()"><span class="copy">{$webconf['web_desc']}</span><span>网站SEO描述</span></button>
          <button onclick="copyText()"><span class="copy">{$webconf['web_copyright']}</span><span>底部版权</span></button>
          <button onclick="copyText()"><span class="copy">{$webconf['web_js']}</span><span>统计代码</span></button>
          <button onclick="copyText()"><span class="copy">{$webconf['closeweb']}</span><span>关闭网站</span></button>
          <button onclick="copyText()"><span class="copy">{$webconf['closetip']}</span><span>关闭提示</span></button>
          <button onclick="copyText()"><span class="copy">{$webconf['mingan']}</span><span>网站敏感词过滤</span></button>
          <button onclick="copyText()"><span class="copy">{include="head"}</span><span>引入头部模板举例</span></button>
          <button onclick="copyText()"><span class="copy">{include="foot"}</span><span>引入底部模板举例</span></button>
          <button onclick="copyText()"><span class="copy">{$webconf['xxx']}</span><span>自定义配置</span></button>
          <input type="text" id="input" value="12345" style="opacity: 0;">
        </div>
        <div class="code-box code-case">
           <div class="code-box code-label">
          <h3>必备标签 <span>(点击即复制)</span></h3>
          <button onclick="copyText()"><span class="copy">{fun formatTime($jz['addtime'])}</span><span>人性化时间内容页使用</span></button>
          <button onclick="copyText()"><span class="copy">{loop table="article"  isshow="1" as="v"}{fun formatTime($v['addtime'])}{/loop}</span><span>个性化时间loop循环时使用</span></button>
          <button onclick="copyText()"><span class="copy">{foreach $lists as $v}{fun formatTime($v['addtime'])}{/foreach}</span><span>个性化时间列表页使用</span></button>

          <input type="text" id="input" value="12345" style="opacity: 0;">
        </div>
        </div>
      </div>
    </div>
  </div>
</div>
<script src="static/js/jquery-1.10.2.js"></script>
<script src="static/js/base.js"></script>
</body>
</html>